-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add --no-modules-global
support
#1070
base: master
Are you sure you want to change the base?
Conversation
See also rustwasm/wasm-bindgen#2700. |
We are using this downstream and it's working well. |
Hi there, any thoughts on this? |
LGTM (as a random person on the internet with no approval/commit rights) |
Hi there, it's been another month. Any thoughts? |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why isn't this in tree yet? wasm-pack 0.10.2 still does not support the needed argument tunneling.
No clue, we've been using it for a while without issue. |
I'd really like to have this feature as well, but apparently wasm-pack is lacking maintainers I wonder if I should use wasm-bindgen cli directly for this while waiting (?). |
This PR adds pass-through support for the
wasm-bindgen
flag--no-modules-global
, which is very useful when building/running WASM in certain scenarios (browser extensions in particular).Supercedes #860 which was mysteriously closed last summer.
Closes #729.
Make sure these boxes are checked! 📦✅
rustfmt
installedcargo fmt
on the code base before submitting✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨